#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "diaplot.h"

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    DialPlot *diaPlot;

    QTimer* timer;

private slots:
    void timeUpdate();

private:
    Ui::Widget *ui;
    int count=0;
    void paintEvent(QPaintEvent *);


public slots:
    void on_pushButton_clicked();

    void on_horizontalSlider_valueChanged(int);
};

#endif // WIDGET_H
